package cn.koala.key.complaint.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 *
 * @author liutao
 * @date 2021/1/15
 */
@Data
@ApiModel("城市信息相关")
public class CityInfoDTO {

    @ApiModelProperty("城市id")
    private Integer id;
    @ApiModelProperty("城市名称")
    private String name;
    @ApiModelProperty("首字母")
    private String firstLetter;
    @ApiModelProperty("拼音缩写")
    private String enName;
    @ApiModelProperty("城市代码")
    private String cityCode;
    @ApiModelProperty("是否热门")
    private Boolean hot;
    @ApiModelProperty("是否在线")
    private Boolean isOnline;
    @ApiModelProperty("所在省份ID")
    private Integer provinceId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFirstLetter() {
        return firstLetter;
    }

    public void setFirstLetter(String firstLetter) {
        this.firstLetter = firstLetter;
    }

    public String getEnName() {
        return enName;
    }

    public void setEnName(String enName) {
        this.enName = enName;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public Boolean getHot() {
        return hot;
    }

    public void setHot(Boolean hot) {
        this.hot = hot;
    }

    public Boolean getOnline() {
        return isOnline;
    }

    public void setOnline(Boolean online) {
        isOnline = online;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }
}
